from config_manager import update_config_section, show_config

print("Resetting NTP configuration to default servers...")

# Reset to valid NTP servers
ntp_config = {
    'servers': ['pool.ntp.org', 'ntp.aliyun.com', 'time.apple.com'],
    'max_retries': 2,
    'retry_interval': 2
}

if update_config_section('ntp', ntp_config):
    print("NTP configuration reset successfully!")
    print("\nUpdated configuration:")
    show_config()
else:
    print("Failed to reset NTP configuration.")